import Vue from 'vue';
import Router from 'vue-router';
import Home from '../components/index/Home';
import Demo from '../components/demo/Demo';


Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      component: Home
    },
    {
      path: '/list',
      component: Demo
    }
  ]
});
